﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Webmedia.Wedding.Entities.Object.ThucDon
{
  public  class ThucDon_MonAn
    {
        [DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
      //
        [Display(Name = "Món ăn")]
        [Key, Column(Order = 0)]
        public int MonAnID { get; set; }
        [ForeignKey("MonAnID")]
        public virtual MonAn MonAn { get; set; }
        //
        [Display(Name = "Thực đơn")]
        [Key, Column(Order = 1)]
        public int ThucDonID { get; set; }
        [ForeignKey("ThucDonID")]
        public virtual ThucDon ThucDon { get; set; }

    }
}
